package com.example.demo.service.impl;

import com.example.demo.domain.entity.CmsCategoryDO;
import com.example.demo.dao.CmsCategoryMapper;
import com.example.demo.service.CmsCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * CmsCategoryServiceImpl
 *
 * @author haochen78
 * @date 2025/11/6 17:34
 **/
@Service
public class CmsCategoryServiceImpl implements CmsCategoryService {
    @Autowired
    private CmsCategoryMapper cmsCategoryMapper;
    
    @Override
    public List<CmsCategoryDO> list() {
        return cmsCategoryMapper.selectList(null);
    }
}
